<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

#400接口调用
#获取token
Route::get('/unicall/getToken', 'unicall\Index@getToken');
#查询通话记录
Route::get('/unicall/QueryCallRecord', 'unicall\Index@QueryCallRecord');
#点击呼叫
Route::get('/unicall/clickCall', 'unicall\Index@RequestClickCall');
#阿里云短信接口
Route::any('admin/aliSmsCode','Admin\AliController@aliSmsCode');

// 后台
Route::group(['prefix' => 'admin'], function () {

    # 登录
    Route::match(['get', 'post'], '/adminlogin', 'Admin\Login@adminlogin');

    Route::match(['get', 'post'], '/logout', 'Admin\Login@logout');

    # 注册
    Route::match(['get', 'post'], '/register', 'Admin\RegisterController@register');
    # 注册信息
    Route::post('/registerInfo', 'Admin\RegisterController@registerInfo');
    # 注册密码
    Route::match(['get', 'post'], '/password/{id}', 'Admin\RegisterController@password');
    # 提示
    Route::match(['get', 'post'], '/hint/{id}', 'Admin\RegisterController@hint');

    # 需要登录的页面
    Route::middleware(['user.login'])->group(function () {
        # 后台主页
        Route::get('/countinfo', 'Admin\Home@countinfo');
        # 后台主页
        Route::get('/systeminfo', 'Admin\Home@systeminfo');
        # 权限列表
        Route::get('/authList', 'Admin\UserController@authList');
        # 添加权限
        Route::any('/addAuth', 'Admin\UserController@addAuth');
        # 角色列表
        Route::get('/roleList', 'Admin\UserController@roleList');
        # 添加角色
        Route::any('/addRole', 'Admin\UserController@addRole');
        # 编辑角色
        Route::any('/editRole/{id}', 'Admin\UserController@editRole');
        # 禁用角色
        Route::get('/stopRole/{id}', 'Admin\UserController@stopRole');
        # 开启角色
        Route::get('/startRole/{id}', 'Admin\UserController@startRole');
        # 角色对应权限
        Route::get('/roleByAuth/{id}', 'Admin\UserController@roleByAuth');
        #给某个角色一个权限(关系表)
        Route::get('/addAuthByRole/{role_id}/{auth_id}', 'Admin\UserController@addAuthByRole');

        # 用户页面
        Route::get('/userClient', 'Admin\UserController@userClient');
        #电话接通
        Route::post('/dialout', 'Admin\UserController@dialout');
        #电话记录查询
        Route::post('/record', 'Admin\UserController@record');
        # 添加用户信息
        Route::match(['get','post'],'/addClientUser', 'Admin\UserController@addClientUser');
        #用户详情
        Route::get('/userClientDetail/{id}', 'Admin\UserController@userClientDetail');
        #编辑用户信息
        Route::match(['get', 'post'], '/userEditDetail/{id}', 'Admin\UserController@userEditDetail');
        #终止用户协议
        Route::get('/terminationAgreement/{id}', 'Admin\UserController@terminationAgreement');
        #领取用户审核
        Route::get('/userGetTask', 'Admin\UserController@userGetTask');
        #用户审核统计
        Route::get('/userCheck', 'Admin\UserController@userCheck');
        #筛选用户
        Route::get('/userClientList/{status}', 'Admin\UserController@userClientList');
        #审核用户
        Route::any('/checkClientUser/{id}', 'Admin\UserController@checkClientUser');
        #更改phone_statis
        Route::get('/updatePhoneStatus/{id}/{status}', 'Admin\UserController@updatePhoneStatus');
        #
        Route::any('/checkClientUser/{id}', 'Admin\UserController@checkClientUser');
        #用户恢复处理
        Route::get('/userRenew/{id}', 'Admin\userController@userRenew');
        #用户联系时间
        Route::get('/userPhoneTime', 'Admin\UserController@userPhoneTime');
        #用户列表
        Route::any('/userList', 'Admin\UserController@userList');
        #用户信息
        Route::match(['get', 'post'], '/userInfo/{id}', 'Admin\UserController@userInfo');
        #添加员工
        Route::any('/addManager', 'Admin\UserController@addManager');
        #查看部门下角色
        Route::any('/findRole', 'Admin\UserController@findRole');
        #员工列表
        Route::get('/list', 'Admin\UserController@list');
        #员工离职
        Route::get('/changeManagerStatus/{id}', 'Admin\UserController@changeManagerStatus');
        #编辑员工
        Route::any('/editManager/{id}', 'Admin\UserController@editManager');
        #修改密码
        Route::match(['get', 'post'], '/changepass', 'Admin\UserController@changePass');
        # 员工详情
        Route::any('/adminInfo/{id}', 'Admin\UserController@adminInfo');

        #添加代理
        Route::any('/addAgent', 'Admin\AgentController@addAgent');
        #生成软件id
        Route::get('/makeSoftware', 'Admin\AgentController@makeSoftware');
        #代理列表
        Route::match(['get','post'],'/agentList', 'Admin\AgentController@agentList');
        #导出代理列表excel
        Route::get('/exportAgentList', 'Admin\AgentController@exportAgentList');
        #代理列表
        Route::get('/agentDetail/{id}', 'Admin\AgentController@agentDetail');
        #修改代理信息
        Route::match(['get','post'],'/updateAgent/{id}', 'Admin\AgentController@updateAgent');
        #根据agint_id查看用户信息
        Route::get('/userByAgentId/{agent_id}', 'Admin\AgentController@userByAgentId');
        #违约处理
        Route::any('/deal/{id}/{type}', 'Admin\AgentController@deal');
        #注销处理
        Route::get('/cancle/{id}/{type}', 'Admin\AgentController@cancle');
        #代理恢复处理
        Route::get('/renew/{id}', 'Admin\AgentController@renew');
        #更新协议
        Route::any('/updateProtocol/{id}/{type}', 'Admin\AgentController@updateProtocol');
        #输出execl
        Route::get('/export', 'Admin\AgentController@export');
        #导入execl
        Route::get('/daoru', 'Admin\AgentController@daoru');

        #添加业务员
        Route::any('/addSale', 'Admin\SaleController@addSale');
        #业务员列表
        Route::get('/saleList', 'Admin\SaleController@saleList');
        #解绑业务员
        Route::any('/unbind/{name}', 'Admin\SaleController@unbind');
        #修改业务员
        Route::match(['get','post'],'/updateSale/{id?}/{status?}', 'Admin\SaleController@updateSale');
        #创建sp
        Route::match(['get', 'post'], '/addSp', 'Admin\SpController@addSp');
        #sp列表
        Route::match(['get','post'],'/spList', 'Admin\SpController@spList');
        #sp详情
        Route::get('/spDetail/{id}', 'Admin\SpController@spDetail');
        #修改sp
        Route::match(['get', 'post'], '/updateSp/{id}', 'Admin\SpController@updateSp');
        #查看sp详情
        Route::get('/sppop/{id}', 'Admin\SpController@spPop');
        #更新协议
        Route::match(['get', 'post'], '/updateAgreement/{id}', 'Admin\SpController@updateAgreement');
        #终止协议
        Route::post('/termination/{id}', 'Admin\SpController@termination');
        #添加公司
        Route::any('/addCompany', 'Admin\CompanyController@addCompany');
        #公司列表
        Route::get('/companyList', 'Admin\CompanyController@companyList');
        #修改公司内容
        Route::any('/updateCompany/{id}', 'Admin\CompanyController@updateCompany');

        #音乐首页
        Route::any('/musicIndex','Admin\MusicController@musicIndex');
        #音乐首页
        Route::any('/searchMusic','Admin\MusicController@searchMusic');
        #领取音乐
        Route::get('/musicGetTask','Admin\MusicController@musicGetTask');
        #音乐详情
        Route::get('/musicDetail/{id}', 'Admin\MusicController@musicDetail');
        #审核音乐
        Route::post('/checkMusic', 'Admin\MusicController@checkMusic');
        #重审音乐
        Route::get('/reiterateMusic', 'Admin\MusicController@reiterateMusic');
        #正在审核的音乐
        Route::get('/checkingMusic', 'Admin\MusicController@checkingMusic');
        #统计音乐
        Route::get('/statisticsMusic', 'Admin\MusicController@statisticsMusic');
        #作品上线
        Route::get('/workOnline','Admin\MusicController@workOnline');
        #作品上线音乐搜索
        Route::any('/workOnlineSearch','Admin\MusicController@workOnlineSearch');
        #删除选择的音乐
        Route::get('/deleteChoose/{id}','Admin\MusicController@deleteChoose');
        #编辑选择的音乐
        Route::any('/editorChoose/{id}','Admin\MusicController@editorChoose');
        #独家发布
        Route::post('/musicToSingle','Admin\MusicController@musicToSingle');
        #特殊授权
        Route::any('/special','Admin\MusicController@special');
        #音乐列表
        Route::match(['get','post'],'/musicList/{type?}', 'Admin\MusicController@musicList');
        #修改提示
        Route::match(['get','post'],'/amend/{pars?}/{id?}', 'Admin\MusicController@amend');
        #标记打回
        Route::match(['get','post'],'/sign/{pars?}/{id?}', 'Admin\MusicController@sign');
        #弹出层
        Route::get('/bigLay/{pars}/{id}', 'Admin\MusicController@bigLay');
        #根据平台统计音乐
        Route::get('/musicBySp/{type}/{library?}', 'Admin\MusicController@musicBySp');
        #音乐发向平台生成对应材料
        Route::match(['get','post'],'/musicToSp', 'Admin\MusicController@musicToSp');
        #发送邮件
        Route::get('/sendEmail/{type}/{library?}', 'Admin\MusicController@sendEmail');
        #显示对应sp
        Route::get('/showSp/{id}', 'Admin\MusicController@showSp');
        #查看授权文件
        Route::get('/author/{id}', 'Admin\MusicController@author');
        #查看特殊授权
        Route::get('/showSpecial/{id}', 'Admin\MusicController@showSpecial');
        #导出音乐表格excel
        Route::get('/exportMusicList', 'Admin\MusicController@exportMusicList');

        #文章
        #添加文章
        Route::any('/addArticle', 'Admin\ArticleController@addArticle');
        #文章列表
        Route::get('/articleList', 'Admin\ArticleController@articleList');
        #文章启用
        Route::match(['get','post'],'/release/{id?}', 'Admin\ArticleController@release');
        #文章禁用
        Route::match(['get','post'],'/cancelRelease/{id?}', 'Admin\ArticleController@cancelRelease');
        #文章删除
        Route::match(['get','post'],'/deleteArticle/{id?}', 'Admin\ArticleController@deleteArticle');
        #编辑文章
        Route::any('/editArticle/{id}', 'Admin\ArticleController@editArticle');

        #上传文件
        Route::any('/upload', 'AdapterApiController@upload');
        #更改用户头像
        Route::any('/updateUserImage', 'Admin\UserController@updateUserImage');

        #系统 广告
        #添加广告
        Route::any('/addAdv', 'Admin\AdvController@addAdv');
        #广告列表
        Route::get('/advertising', 'Admin\AdvController@advList');
        #广告启用
        Route::match(['get','post'],'/enableAdv/{id?}', 'Admin\AdvController@enableAdv');
        #广告禁用
        Route::match(['get','post'],'/disableAdv/{id?}', 'Admin\AdvController@disableAdv');
        #广告删除
        Route::match(['get','post'],'/deleteAdv/{id?}', 'Admin\AdvController@deleteAdv');
        #编辑广告
        Route::any('/editAdv/{id}', 'Admin\AdvController@editAdv');

        #业务管理
        #授权公司管理（列表）
        Route::get('/businessList', 'Admin\BusinessController@businessList');
        #添加授权
        Route::any('/addBusiness', 'Admin\BusinessController@addBusiness');
        #公司删除
        Route::match(['get','post'],'/deleteBusiness/{id?}', 'Admin\BusinessController@deleteBusiness');
        //以下路由测试验证器用
        Route::get('/test', 'Test@testView');
        Route::post('finalldata', 'Test@finallData');

        #用户 部门
        #添加部门
        Route::any('/addDepartment', 'Admin\UserController@addDepartment');
        #部门列表
        Route::get('/departmentList', 'Admin\UserController@departmentList');
        #编辑部门
        Route::any('/editDepartment/{id}', 'Admin\UserController@editDepartment');
        #部门启用
        Route::match(['get','post'],'/enableDepartment/{id?}', 'Admin\UserController@enableDepartment');
        #部门禁用
        Route::match(['get','post'],'/disableDepartment/{id?}', 'Admin\UserController@disableDepartment');
        #部门对应角色
        Route::get('/departmentByRole/{id}', 'Admin\UserController@departmentByRole');
        #给某个部门一个角色(关系表)
        Route::get('/addRoleByDepartment/{department_id}/{role_id}', 'Admin\UserController@addAuthByRole');

        #财务
        Route::get('/financeRecord', 'Admin\Finance\RecordController@record');
        #固定成本投入
        Route::get('/cost', 'Admin\Finance\RecordController@cost');
        #添加成本
        Route::match(['get', 'post'], '/addCost', 'Admin\Finance\RecordController@addCost');
        #新建月度报表
        Route::match(['get', 'post'] , '/addStatistics', 'Admin\Finance\RecordController@addStatistics');
        #成本统计
        Route::get('/costStatistics', 'Admin\Finance\RecordController@costStatistics');
        #收入统计
        Route::get('/incomeStatistics', 'Admin\Finance\RecordController@incomeStatistics');
        #sp收入报表增加
        Route::get('/spIncome', 'Admin\Finance\RecordController@spIncome');
        #sp收入报表填写页面
        Route::match(['get', 'post'] , '/spInput/{year}/{month}', 'Admin\Finance\RecordController@spInput');
        #根据id删除单条报表记录
        Route::post('delInputById', 'Admin\Finance\RecordController@delInputById');
        #分账sp管理
        Route::get('/spManagement', 'Admin\Finance\RecordController@spManagement');
        #财务添加sp
        Route::match(['get', 'post'], '/financeAddOne/{id?}', 'Admin\Finance\RecordController@addOne');
        #增加SP
        Route::match(['get', 'post'], '/financeAddSp', 'Admin\Finance\RecordController@financeAddSp');
        #删除sp
        Route::get('/delSp/{id}', 'Admin\Finance\RecordController@delSp');
        #删除单条sp类型
        Route::get('/delOne/{id}', 'Admin\Finance\RecordController@delOne');
        #分账统计
        Route::any('/routingStatistics', 'Admin\Finance\RecordController@routingStatistics');
        #成本统计
        Route::get('/costStatisticsCheck','Admin\Finance\RecordController@costStatisticsCheck');

        #通知列表
        Route::get('/financeInform', 'Admin\Finance\NoticeAndPayController@financeInform');
        #发送音乐人账单
        Route::get('/changeInformMusic/{id}', 'Admin\Finance\NoticeAndPayController@changeInformMusic');
        #发送代理账单
        Route::get('/changeInformAgent/{id}', 'Admin\Finance\NoticeAndPayController@changeInformAgent');
        #发送指定人账单
        Route::get('/changeInformAppoint/{id}', 'Admin\Finance\NoticeAndPayController@changeInformAppoint');
        #支付中心 列表
        Route::match(['get','post'],'/financePayment', 'Admin\Finance\NoticeAndPayController@financePayment');
        #支付中心->导出excel
        Route::match(['get','post'],'/financePaymentToExcel', 'Admin\Finance\NoticeAndPayController@exportToExcel');
        #音乐人提现
        Route::get('/batchMusic', 'Admin\Finance\NoticeAndPayController@batchMusic');
        #代理提现
        Route::get('/batchAgent', 'Admin\Finance\NoticeAndPayController@batchAgent');
        #差账管理 列表
        Route::match(['get','post'],'/priceDifference', 'Admin\Finance\NoticeAndPayController@priceDifference');
        #差账管理 添加
        Route::any('/addPriceDifference', 'Admin\Finance\NoticeAndPayController@addPriceDifference');
        #分账报表
        Route::any('/accountStatement', 'Admin\Finance\ReportController@accountStatement');
        #重新分账
        Route::any('/accountAgain', 'Admin\Finance\ReportController@accountAgain');
        #财务复审
        Route::get('/financialRetrial/{type}', 'Admin\Finance\ReportController@financialRetrial')->where('type', '[0-3]');
        #分账明细
        Route::get('/examineBill/{time}/{type}','Admin\Finance\ReportController@examineBill');
        #重复分账
        Route::get('/reaccount', 'Admin\Finance\ReportController@reaccount');
        #历史分账记录
        Route::get('/ledgerRecord/{type}', 'Admin\Finance\ReportController@ledgerRecord')->where('type', '[0-3]');
        #搜索音乐人，代理，指定人信息
        Route::any('/typeSearch', 'Admin\Finance\ReportController@typeSearch');
        # 拒绝分账
        Route::match(['get', 'post'], '/denialOfAccounts/{id}/{type}', 'Admin\Finance\ReportController@denialOfAccounts');
        # 通过分账
        Route::get( '/adoptOfAccounts/{id}/{type}', 'Admin\Finance\ReportController@adoptOfAccounts');

    });
});

// 企业展示站
Route::group(['prefix' => 'enterprise'], function () {

    #首页
    Route::get('/index', 'Enterprise\home@index');
    #关于我们
    Route::get('/aboutUs/{id}', 'Enterprise\home@aboutUs');
    #产品中心（货主端）
    Route::get('/carOwner/{id}', 'Enterprise\home@carOwner');
    #司机端
    Route::get('/motorman/{id}', 'Enterprise\home@motorman');
    #相关产品
    Route::get('/relatedProducts/{id}', 'Enterprise\home@relatedProducts');
    #大数据产业
    Route::get('/bigData/{id}', 'Enterprise\home@bigData');
    #品牌专营
    Route::get('/brand/{id}', 'Enterprise\home@brand');
    #新闻中心（公司动态）
    Route::get('/pressCenter/{id}', 'Enterprise\home@pressCenter');
    #行业新闻
    Route::get('/industrynew/{id}', 'Enterprise\home@industrynew');
    #媒体新闻
    Route::get('/medianew/{id}', 'Enterprise\home@medianew');
    #货满仓印象
    Route::get('/Shipmentnew/{id}', 'Enterprise\home@Shipmentnew');
    #人才中心
    Route::get('/talents/{id}', 'Enterprise\home@talents');
    #联系我们
    Route::get('/connect/{id}', 'Enterprise\home@connect');
    #分类
    # 文章分类列表
    Route::get('/articleClass', 'Enterprise\article\EnterpriseArticleController@articleClass');
    # 指定文章分类
    Route::get('/assignClass/{pid}', 'Enterprise\article\EnterpriseArticleController@assignClass');
    #文章
    #指定分类下的文章列表
    Route::get('/articleList/{cid}', 'Enterprise\article\EnterpriseArticleController@articleList');
    #指定分类下的文章详情
    Route::get('/assignInfo/{cid}', 'Enterprise\article\EnterpriseArticleController@assignInfo');
    #文章详情
    Route::any('/articleInfo/{id}', 'Enterprise\home@articleInfo');

});

// 新后台 （江苏物流）
Route::group(['prefix' => 'backstage'], function () {
    // 登录页
    Route::match(['get', 'post'], '/login', 'NewAdmin\Login@login');

    Route::middleware(['new.login'])->group(function () {
        // 退出登录
        Route::get('/logout', 'NewAdmin\Login@logout');

        // 后台首页
        Route::get('/home', 'NewAdmin\Home@index');

        # 文章
        // 文章主题列表
        Route::get('/theme', 'NewAdmin\Article@themeList');
        // 添加文章主题
        Route::post('/addTheme', 'NewAdmin\Article@addTheme');
        // 编辑文章主题
        Route::match(['get', 'post'], '/editTheme/{id}', 'NewAdmin\Article@editTheme');
        // 文章列表
        Route::get('/article/{classify_id?}/{keywords?}/{belong_to?}', 'NewAdmin\Article@articleList');
        // 添加文章
        Route::match(['get', 'post'], '/addArticle', 'NewAdmin\Article@addArticle');
        // 编辑文章
        Route::match(['get', 'post'], '/editArticle/{id}', 'NewAdmin\Article@editArticle');
        // 删除文章
        Route::get('/delArticle/{id}', 'NewAdmin\Article@delArticle');
        // 富文本编辑器文件上传
        Route::match(['get', 'post'], '/files', 'NewAdmin\Article@files');

        # 广告
        // 广告列表
        Route::get('/adv', 'NewAdmin\Adv@advList');
        // 添加广告
        Route::match(['get', 'post'], '/addAdv', 'NewAdmin\Adv@addAdv');
        // 编辑广告
        Route::match(['get', 'post'], '/editAdv/{id}', 'NewAdmin\Adv@editAdv');
        // 禁用广告
        Route::get('disableAdv/{id}', 'NewAdmin\Adv@disable');
        // 启用广告
        Route::get('enableAdv/{id}', 'NewAdmin\Adv@enable');
        // 图片上传
        Route::match(['get', 'post'], '/upload', 'NewAdmin\Adv@upload');

        # 用户
        // 用户列表
        Route::match(['get', 'post'], '/user', 'NewAdmin\User@list');
        // 修改密码页面
        Route::get('/user/password/{id}', 'NewAdmin\User@password');
        // 保存密码
        Route::post('/user/store/{id}', 'NewAdmin\User@store');
        // 角色管理列表
        Route::get('/user/role', 'NewAdmin\User@role');
        // 添加角色
        Route::post('/user/role/add', 'NewAdmin\User@addRole');
        // 启用角色
        Route::get('/user/role/enable/{id}', 'NewAdmin\User@roleEnable');
        // 禁用角色
        Route::get('/user/role/disable/{id}', 'NewAdmin\User@roleDisable');
        // 编辑角色页面/操作
        Route::match(['get', 'post'], '/user/role/{id}/edit', 'NewAdmin\User@editRole');
        // 权限管理列表
        Route::match(['get', 'post'], '/user/auth', 'NewAdmin\User@auth');
        // 增加权限页面/操作
        Route::match(['get', 'post'], '/user/auth/store', 'NewAdmin\User@storeAuth');
        // 编辑权限页面/操作
        Route::match(['get', 'post'], '/user/auth/{id}/edit', 'NewAdmin\User@editAuth');
        // 权限赋予角色页面
        Route::get('/user/auth/{id}/give', 'NewAdmin\User@give');
        // 赋予角色某权限
        Route::post('/user/auth/give/role', 'NewAdmin\User@authGiveRole');
        // 解除角色某权限
        Route::post('/user/auth/remove/role', 'NewAdmin\User@autheRmoveRole');
        // 实名认证列表(个人/企业)
        Route::get('/user/ident/{type}', 'NewAdmin\User@ident');
        // 审核实名认证(个人/企业)
        Route::post('/user/ident/audit', 'NewAdmin\User@auditStatus');

        # 车辆管理
        // 车辆列表
        Route::get('car', 'NewAdmin\Car@index');
        // 车辆信息
        Route::get('car/info/{id}', 'NewAdmin\Car@info');
        // 车辆审核
        Route::get('car/audit', 'NewAdmin\Car@audit');

        # 货物管理
        // 货物列表
        Route::get('cargo', 'NewAdmin\Cargo@index');

        # 投诉
        // 投诉列表
        Route::get('/complain', 'NewAdmin\Complain@index');
        // 图片大图
        Route::get('/bigImage/{id}/{table}', 'NewAdmin\Complain@bigImage');
        // 回复投诉
        Route::match(['get', 'post'],'/editComplain/{id}', 'NewAdmin\Complain@editComplain');

        # 站内信
        // 站内信列表
        Route::match(['get', 'post'], '/adminMessageList', 'NewAdmin\Message@adminMessageList');
        // 删除站内信
        Route::get('/delMessage/{id}', 'NewAdmin\Message@adminDelOneMessage');

        # 商城
        // 收货地址列表
        Route::match(['get', 'post'], '/adminMyAddrList', 'NewAdmin\Shop@adminMyAddrList');
        // 删除收货地址
        Route::get('/adminDelMyAddr/{id}', 'NewAdmin\Shop@adminDelMyAddr');

        // 商品列表
        Route::match(['get', 'post'], '/goodsList', 'NewAdmin\Shop@goodsList');
        // 删除商品
        Route::get('/delGoods/{id}', 'NewAdmin\Shop@delGoods');
        // 添加商品
        Route::any( '/addGoods', 'NewAdmin\Shop@addGoods');
        // 编辑商品
        Route::any('/altGoods/{id}', 'NewAdmin\Shop@altGoods');
        // 图片上传
        Route::match(['get', 'post'], '/uploadGoods', 'NewAdmin\Shop@upload');

        // 用户积分列表
        Route::match(['get', 'post'], '/adminIntegralList', 'NewAdmin\Shop@adminIntegralList');
        // 积分操作记录
        Route::match(['get', 'post'], '/adminOptionLog', 'NewAdmin\Shop@adminOptionLog');
        // 用户兑换记录列表
        Route::match(['get', 'post'], '/adminOrderList', 'NewAdmin\Shop@adminOrderList');
        // 发货
        Route::match(['get', 'post'], '/deliverGoods/{id}', 'NewAdmin\Shop@deliverGoods');

        # 网站配置
        Route::match(['get', 'post'], '/catelist', 'NewAdmin\SettingCate@cateList');
        Route::match(['get', 'post'], '/addcatepage', 'NewAdmin\SettingCate@addCatePage');
        Route::match(['get', 'post'], '/addsetting/{id}', 'NewAdmin\SettingCate@addSetting');
        Route::match(['get'], '/settinglist', 'NewAdmin\Setting@getSettingList');
        Route::match(['get', 'post'], '/editsetting/{id}', 'NewAdmin\Setting@editSetting');

        // 申请提现列表
        Route::match(['get', 'post'], '/adminWithdrawList', 'NewAdmin\Withdraw@adminWithdrawList');
        // 审核提现
        Route::match(['get', 'post'], '/auditWithdraw/{id}/{status}', 'NewAdmin\Withdraw@auditWithdraw');

        // 运单列表
        Route::match(['get', 'post'], '/waybillList', 'NewAdmin\Waybill@waybillList');
        // 运单详情
        Route::get('/waybillInfo/{id}', 'NewAdmin\Waybill@waybillInfo');

    });
});
